from core.Response import Response
from model.device import Device

def get(id:str):
    device = Device.query.filter_by(id=id).first()
    return Response.success('请求成功',device)